<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2" for=""></label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" name="" id="address" placeholder="地址">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2" for=""></label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" name="" id="lng" placeholder="经度">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2" for=""></label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" name="" id="lat" placeholder="纬度">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2" for=""></label>
        <div class="col-xs-12 col-sm-8">
            <button type="button" class="btn btn-primary" data-toggle='addresspicker' data-input-id="address" data-lng-id="lng" data-lat-id="lat" >点击选择</button>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods" data-rule="required" class="form-control" name="row[goods]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Source')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-source" data-rule="required" class="form-control" name="row[source]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Clickid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-clickid" data-rule="required" class="form-control" name="row[clickid]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Event_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-event_type" data-rule="required" class="form-control" name="row[event_type]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Appid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-appid" data-rule="required" class="form-control" name="row[appid]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-state" data-rule="required" class="form-control" name="row[state]" type="number" value="0">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
